<?
if ( !defined ( 'L_MOD' ) )
{
	echo "<meta http-equiv='refresh' content='0; url=/index.php?nma=error&fla=403'>";
	exit;
}

$query=mysql_query("SELECT * FROM ".$wcpref.$nma."_product");
print '<br><table border="0" cellpadding="3" cellspacing="1" align="center" width="80%">
	<tr>
		<td class="head" align="center">'._SELECTPRODUCT_.'</td>
	</tr>';
$d=0;
while($result=mysql_fetch_array($query))
{
	$d++;$iclass = ($d % 2) ? "even" : "odd";
	extract($result);
	print '<tr class="'.$iclass.'">
		<td><a href="index.php?nma='.$nma.'&fla=viewprod&lid='.$mod_id_prod.'">'.$mod_product.'</a></td>
	</tr>';
}
print'</table>';
?>